package asia.gkc.test.observer;

import asia.gkc.test.common.Observable;
import asia.gkc.test.common.Observer;
import asia.gkc.test.common.RegisterType;
import asia.gkc.test.util.DataModel;

/**
 * File Name: BreatheObserver.java
 * Function:
 *
 * @author jakes.
 * @version 1.0
 * @since 6/28/16 2:19 PM
 */

@RegisterType("cccc")
public class BreatheObserver implements Observer {
    public void update(Observable observable, DataModel data) {
        System.out.println("get breath: " + data.getData() + " do something");
    }
}
